Trading uninitialized space for time
نویسنده
چکیده
The design of efficient graph algorithms usually precludes the test of edge existence, because an efficient support of that operation already requires time (n2) for the initialization of an adjacency-matrix representation. We describe an alternative representation of static directed graphs taking (n+m) initialization time and using (n2) space, which supports the efficient implementation of all usual operations on static graphs. The sparse graph representation allows the design of efficient graph algorithms using both iteration over all vertices adjacent with a given vertex and edge-existence operations, although at the expense of additional (uninitialized) space which may, nevertheless, be used for other purposes. To the best of our knowledge, the representation leads to the first graph algorithms with the disconcerting property that the time complexity is better than the space complexity. 2004 Elsevier B.V. All rights reserved.
منابع مشابه
Studying the Monthly Effect on the Market Reactions Using Time-Space -Frequency Analysis (Case Study: Tehran Stock Exchange)
Anomaly is an incident or event that cannot be explained by the dominant theories. Anomalies are situated in confronting with the efficient market theory, so that it provides conditions for stock trading strategies with additional returns in case of existing predetermined returns. Therefore, in this study, the anomaly due to monthly effects on the stock volume trading and the Tehran Stock Excha...
متن کاملUnleashing Use-Before-Initialization Vulnerabilities in the Linux Kernel Using Targeted Stack Spraying
A common type of memory error in the Linux kernel is using uninitialized variables (uninitialized use). Uninitialized uses not only cause undefined behaviors but also impose a severe security risk if an attacker takes control of the uninitialized variables. However, reliably exploiting uninitialized uses on the kernel stack has been considered infeasible until now since the code executed prior ...
متن کاملOpenMP for next generation heterogeneous clusters
The last years have seen great diversity in new hardware with e. g. GPUs providing multiple times the processing power of CPUs. Programming GPUs or clusters of GPUs however is still complicated and time consuming. In this paper we present extensions to OpenMP that allow one program to scale from a single multi-core CPU to a many-core cluster (e. g. a GPU cluster). We extend OpenMP with a new sc...
متن کاملExploitations of Uninitialized Uses on macOS Sierra
An uninitialized use refers to a common coding mistake where programmers directly use variables on the stack or the heap before they are initialized. Uninitialized uses, although simple, can lead to severe security consequences. In this paper, we will share our experience in gaining arbitrary kernel code execution in the latest macOS Sierra by exploiting two uninitialized use vulnerabilities fo...
متن کاملLeaking Uninitialized Secure Enclave Memory via Structure Padding (Extended Abstract)
Intel Software Guard Extensions (SGX) aims to provide an isolated execution environment, known as an enclave, for a user-level process to maximize its confidentiality and integrity. In this paper, we study how uninitialized data inside a secure enclave can be leaked via structure padding. We found that, during ECALL and OCALL, proxy functions that are automatically generated by the Intel SGX So...
متن کاملذخیره در منابع من
با ذخیره ی این منبع در منابع من، دسترسی به آن را برای استفاده های بعدی آسان تر کنید
عنوان ژورنال:
- Inf. Process. Lett.
دوره 92 شماره
صفحات -
تاریخ انتشار 2004